home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17122 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1012 b 

  1. Path: ix.netcom.com!news
  2. From: giuliano@ix.netcom.com(Giuliano Carlini)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Is RTTI required if polymorphic constructor exists
  5. Date: 13 Apr 1996 08:55:46 GMT
  6. Organization: Netcom
  7. Message-ID: <4knq6i$feu@dfw-ixnews5.ix.netcom.com>
  8. References: <4knh38$lbl@nuscc.nus.sg>
  9. NNTP-Posting-Host: lbx-ca8-13.ix.netcom.com
  10. X-NETCOM-Date: Sat Apr 13  3:55:46 AM CDT 1996
  11.  
  12. In <4knh38$lbl@nuscc.nus.sg> satrajit@iscs.nus.sg (Satrajit Sujit
  13. Ghosh) writes: 
  14. >
  15. >
  16. >Hi,
  17. >    The following is a piece of code for run-time object registry
  18. >without the use of the RTTI library or templates. It should be pretty
  19. >simple to decipher. It creates a polymorphic constructor, without
  20. >specifying a case statement, using static initializers. 
  21. >    Given this situation of object identification, is RTTI really
  22. necessary ?
  23. >
  24. >Satra[jit]
  25.  
  26. Yes RTTI is necessary. There are many ways to do what you propose. And,
  27. that is the problem. Everyone has done it their own way. What is needed
  28. is a standard way to do it.
  29.  
  30. g
  31.